#ifndef WIDGETS_SOURCEDOCK_H
#define WIDGETS_SOURCEDOCK_H

#include <QDockWidget>

class DokerModel;
class SourceTree;

class SourceDock : public QDockWidget
{
    Q_OBJECT
public:
    explicit SourceDock(DokerModel *model, QWidget *parent = 0);

    void setWidth(int w);
    void clear();
    
signals:
    
public slots:

private slots:
    void restoreMinMaxSizes();

private:
    int          m_oldMinWidth;
    int          m_oldMaxWidth;
    SourceTree  *m_tree;
};

#endif // WIDGETS_SOURCEDOCK_H
